#include "Viewport.h"


Viewport::Viewport(int x, int y, int width, int height)
{
	_posX = x;
	_posY = y;
	_width = width; 
	_height = height;
}


Viewport::~Viewport()
{
}

RECT Viewport::Rect()
{
	RECT r;
	r.left = _posX;
	r.top = _posY;
	r.right = r.left + _width;
	r.bottom = r.top - _height;
	return r;
}